package com.yongoe.ecy.secondNode.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yongoe.ecy.utils.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import java.time.LocalDateTime;

/**
 * 二级节点
 *
 * @author monad
 * @since 2024/03/10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("second_node")
public class SecondNode extends BaseEntity {

    /**
     * 二级节点主键
     */
    @TableId(type = IdType.AUTO)
    private Long secondId;

    /**
     * 节点id
     */
    private Long nodeId;

    /**
     * 父节点id
     */
    private Long parentId;

    /**
     * 父节点名称
     */
    private String firstNodeName;

    /**
     * 关系
     */
    private String relationship;

    /**
     * 节点名
     */
    private String nodeName;

    /**
     * 节点类型
     */
    private String nodeLabel;

    /**
     * 节点描述
     */
    private String nodeContent;

}